#include <Rectangle.h>


Rectangle::Rectangle(Uint width, Uint height)
:width_m(width),height_m(height)
{
}

Uint Rectangle::getPerimeter(void) const
{
	return 2*(width_m+height_m);
}

Uint Rectangle::getArea(void) const
{
	return width_m*height_m;
}

void Rectangle::setWidth(Uint w)
{
	width_m = w;
}

void Rectangle::setHeight(Uint h)
{
	height_m = h;
}

